package com.example.papermanagemant.repository;

import com.example.papermanagemant.model.Paper;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface PaperRepository extends JpaRepository<Paper, Long> {
    List<Paper> findByAuthorContainingOrTitleContainingOrKeywordsContaining(String author, String title, String keywords);
}
